//
//  WBResponse.m
//  ＷebServiceDemo
//
//  Created by wulanzhou on 16/3/7.
//  Copyright © 2016年 wulanzhou. All rights reserved.
//

#import "WBResponse.h"

@implementation WBResponse

- (id)json{
    if (self.content&&[self.content isKindOfClass:[NSString class]]&&[self.content length]>0) {
        return [NSJSONSerialization JSONObjectWithData:[self.content dataUsingEncoding:NSUTF8StringEncoding] options:1 error:nil];
    }
    return nil;
}

@end
